Repository navigation
Histogram storage format and bin count (D9): study, not for merge - #107
Draft
guijacquemet wants to merge 1 commit into
Draft
guijacquemet wants to merge 1 commit into
guijacquemet wants to merge 1 commit into
Conversation
Measures the exact dense CSV (today), a sparse cell CSV (ADR 0004 grammar), long Parquet, trimmed npz/zarr and 4,096/1,024-bin histograms on four datasets; bit identity of the exact formats and the error and decisions of the coarse bins. Nothing in src/ changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Roadmap step D9: a measured benchmark, run before any Spec change. Study, not for merge. Nothing in
src/changes. Everything is inexperiments/histogram_storage_study/; the report isREADME.mdand the full tables are inresults.md.Question (owner): do we need 65,536 bins per uint16 channel in
plane_histograms.csv, and is there a more efficient format?Data. Four datasets, read on a shared 4-CPU machine, one job at a time, with 5 repeats:
What I compared.
index:count;…cell per channel, in ADR 0004's grammar;Findings.
repeat_intensity_shiftwarning appears on JUMP at 1,024 bins.cli) and MorphoRelate (parquet).Recommendation. Keep exact bins. Plan a schema v6 that replaces the bin columns with one sparse
Histogram_Counts_<ID>cell per channel, in ADR 0004's grammar. The Spec impact and the open questions are in the README.Generated by Claude Code